package com.qf.order.service;


import com.qf.base.domain.BaseCustomer;
import com.qf.order.domain.GoodsInfo;
import com.qf.order.domain.dto.OrderExcelDTO;
import com.qf.order.domain.OrderQueryParams;
import com.qf.order.domain.OrderVO;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface OrderService {
    String requestOrderId();
    void add(OrderVO orderVO);

    List<OrderVO> selectOrderList(OrderVO  orderVO);

    int delOrders(String[] orderIds);

    int update(OrderVO orderVO);

    OrderVO getOrderInfo(String orderId);

    int delGoods(GoodsInfo goodsInfo);

    void exportOrders(List<String> orderIds, OrderQueryParams params, HttpServletResponse response)throws Exception;

    /**
     * 批量导入订单
     */
    void batchImport(List<OrderExcelDTO> orderList);

    /**
     * 分页查询订单
     */
    Map<String, Object> getOrderPage(OrderQueryParams params);

    /**
     * 查询所有符合条件的订单（用于导出）
     */
    List<OrderExcelDTO> listAllOrders(OrderQueryParams params);


    List<BaseCustomer> customerInfo();
}
